package com.bdqn.t382.service;

import com.bdqn.t382.dao.EmployeeDao;
import com.bdqn.t382.dao.EmployeeDaoImpl;
import com.bdqn.t382.example.Employee;

public class EmployeeServiceImpl implements EmployeeService{
    EmployeeDao employeeDao=new EmployeeDaoImpl();
    @Override
    public boolean save(Employee employee) {
        return employeeDao.insert(employee) > 0;
    }
}
